/*
 * BabyNames.h
 *
 *  Created on: Feb 19, 2013
 *      Author: Anthony Varghese
 */


#ifndef BABYNAMES_H_
#define BABYNAMES_H_

namespace assignment3 {

class BabyNames {
public:
	BabyNames();
	BabyNames(const BabyNames& source);
	virtual ~BabyNames();
	BabyNames& operator =(const BabyNames& rhs);
	void sortByName();
	void sortByPopularity();
	void sortByYear();
private:
	LinkedList  data;
	friend istream& operator>>(istream& is, BabyNames& bn);
	friend ostream& operator<<(ostream& os, const BabyNames& bn);
};
istream& operator>>(istream& is, BabyNames& bn);
ostream& operator<<(ostream& os, const BabyNames& bn);
}

#endif /* BABYNAMES_H_ */
